package cn.kgc.staservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName StaApplication
 * @Description: TODO
 * @Author :郭建宾
 * @Date 2020/7/19
 * @Version V1.0
 **/
@SpringBootApplication
@MapperScan("cn.kgc.staservice.mapper")
@ComponentScan("cn.kgc")
@EnableDiscoveryClient
@EnableFeignClients
@EnableCaching
public class StaApplication {
    public static void main(String[] args) {
        SpringApplication.run(StaApplication.class, args);
    }
}
